package com.jxw.cloudpen.web.microsoft.stremspeed;

import lombok.Data;

import java.io.Serializable;

/**
 * @author ligang
 * @create 2025/3/18 15:27
 */
@Data
public class StreamData implements Serializable {
    /**
     * OPEN_GOOGLE_SPEED = 1;  //开启通道
     * SPEED_RECORD = 2; //识别语言
     * SPEED_END = 3; //识别语言结束
     * CHECK_LANG = 4; //切换语言
     */
    private Integer type;

    /**
     * 数据流是否结束
     */
    private Boolean dataIsEnd;

    private byte[] data;

    private String clientId;

    private String languageCode;

    private String token;

    //目标语言
    private String targetLanguageCode;
    //是否翻译
    private Integer isTranslation;
    //是否流式翻译
    private Integer isStreamTranslation;

    //是否tts
    private Integer isTts;


    private String vcn;
}
